import Vue from 'vue'
import axios from 'axios'

import App from './App'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import '@/styles/element-variables.scss';
// import '@/assets/css/font.css'//字体图库
// import '/static/iconfont/iconfont.css'//字体图标
import '@/styles/element-ui.scss';
Vue.use(ElementUI);
import '@/permission'
import '@/utils/function'
import Global_ from '@/utils/request.js'
Vue.prototype.GLOBAL = Global_;

if (!process.env.IS_WEB) Vue.use(require('vue-electron'))
Vue.http = Vue.prototype.$http = axios
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  components: { App },
  router,
  store,
  template: '<App/>'
}).$mount('#app')
